package com.taobao.ic.ticket.test;

import java.util.Date;

import org.junit.Test;

import com.taobao.ic.ticket.constants.TicketConstants;
import com.taobao.ic.ticket.domain.OrderDO;

public class OrderPayTestCase extends SpringTestCase {

	@Test
	public void testPay() throws Exception {
		
		OrderDO order = new OrderDO();
		order.setBeginTime(new Date());
		order.setOrderId(1234567890l);
		order.setBuyerId(100001l);
		order.setTicketType(TicketConstants.TICKET_TYPE_HARDBED);
		order.setTrainNum("G28");
		
		orderPayManager.payOrder(order);
		
	}
	
}
